Builder
This message is never sent over the wire, but it is used for serializing DB
state to flash in the device code
FIXME, since we write this each time we enter deep sleep (and have infinite
flash) it would be better to use some sort of append only data structure for
the receive queue and use the preferences store for the other stuff
Content copied to clipboard
meshtastic.DeviceState
Functions
Link copied to clipboard
open fun addAllNodeRemoteHardwarePins(values: Iterable<out MeshProtos.NodeRemoteHardwarePin>): DeviceOnly.DeviceState.Builder
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
open fun addAllReceiveQueue(values: Iterable<out MeshProtos.MeshPacket>): DeviceOnly.DeviceState.Builder
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
open fun addNodeRemoteHardwarePins(value: MeshProtos.NodeRemoteHardwarePin): DeviceOnly.DeviceState.Builder
open fun addNodeRemoteHardwarePins(builderForValue: MeshProtos.NodeRemoteHardwarePin.Builder): DeviceOnly.DeviceState.Builder
open fun addNodeRemoteHardwarePins(index: Int, value: MeshProtos.NodeRemoteHardwarePin): DeviceOnly.DeviceState.Builder
open fun addNodeRemoteHardwarePins(index: Int, builderForValue: MeshProtos.NodeRemoteHardwarePin.Builder): DeviceOnly.DeviceState.Builder
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
open fun addReceiveQueue(builderForValue: MeshProtos.MeshPacket.Builder): DeviceOnly.DeviceState.Builder
open fun addReceiveQueue(index: Int, builderForValue: MeshProtos.MeshPacket.Builder): DeviceOnly.DeviceState.Builder
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Previously used to manage GPS factory resets.
Deprecated in 2.5.23
Content copied to clipboard
bool did_gps_reset = 11 [deprecated = true];
Link copied to clipboard
Read only settings/info about this node
Content copied to clipboard
.meshtastic.MyNodeInfo my_node = 2;
Link copied to clipboard
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
Used only during development.
Indicates developer is testing and changes should never be saved to flash.
Deprecated in 2.3.1
Content copied to clipboard
bool no_save = 9 [deprecated = true];
Link copied to clipboard
My owner info
Content copied to clipboard
.meshtastic.User owner = 3;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard
We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_waypoint = 12;
Link copied to clipboard
A version integer used to invalidate old save files when we make
incompatible changes This integer is set at build time and is private to
NodeDB.cpp in the device code.
Content copied to clipboard
uint32 version = 8;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Previously used to manage GPS factory resets.
Deprecated in 2.5.23
Content copied to clipboard
bool did_gps_reset = 11 [deprecated = true];
Link copied to clipboard
Read only settings/info about this node
Content copied to clipboard
.meshtastic.MyNodeInfo my_node = 2;
Link copied to clipboard
Read only settings/info about this node
Content copied to clipboard
.meshtastic.MyNodeInfo my_node = 2;
Link copied to clipboard
Read only settings/info about this node
Content copied to clipboard
.meshtastic.MyNodeInfo my_node = 2;
Link copied to clipboard
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
open fun getNodeRemoteHardwarePinsOrBuilderList(): List<out MeshProtos.NodeRemoteHardwarePinOrBuilder>
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
My owner info
Content copied to clipboard
.meshtastic.User owner = 3;
Link copied to clipboard
My owner info
Content copied to clipboard
.meshtastic.User owner = 3;
Link copied to clipboard
My owner info
Content copied to clipboard
.meshtastic.User owner = 3;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard
We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard
We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard
We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_waypoint = 12;
Link copied to clipboard
We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_waypoint = 12;
Link copied to clipboard
We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_waypoint = 12;
Link copied to clipboard
A version integer used to invalidate old save files when we make
incompatible changes This integer is set at build time and is private to
NodeDB.cpp in the device code.
Content copied to clipboard
uint32 version = 8;
Link copied to clipboard
We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard
We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_waypoint = 12;
Link copied to clipboard
Link copied to clipboard
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): DeviceOnly.DeviceState.Builder
Link copied to clipboard
Read only settings/info about this node
Content copied to clipboard
.meshtastic.MyNodeInfo my_node = 2;
Link copied to clipboard
My owner info
Content copied to clipboard
.meshtastic.User owner = 3;
Link copied to clipboard
We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard
We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_waypoint = 12;
Link copied to clipboard
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
Previously used to manage GPS factory resets.
Deprecated in 2.5.23
Content copied to clipboard
bool did_gps_reset = 11 [deprecated = true];
Link copied to clipboard
Read only settings/info about this node
Content copied to clipboard
.meshtastic.MyNodeInfo my_node = 2;
Link copied to clipboard
open fun setNodeRemoteHardwarePins(index: Int, value: MeshProtos.NodeRemoteHardwarePin): DeviceOnly.DeviceState.Builder
open fun setNodeRemoteHardwarePins(index: Int, builderForValue: MeshProtos.NodeRemoteHardwarePin.Builder): DeviceOnly.DeviceState.Builder
The mesh's nodes with their available gpio pins for RemoteHardware module
Content copied to clipboard
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
Used only during development.
Indicates developer is testing and changes should never be saved to flash.
Deprecated in 2.3.1
Content copied to clipboard
bool no_save = 9 [deprecated = true];
Link copied to clipboard
My owner info
Content copied to clipboard
.meshtastic.User owner = 3;
Link copied to clipboard
open fun setReceiveQueue(index: Int, builderForValue: MeshProtos.MeshPacket.Builder): DeviceOnly.DeviceState.Builder
Received packets saved for delivery to the phone
Content copied to clipboard
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
open fun setRxTextMessage(builderForValue: MeshProtos.MeshPacket.Builder): DeviceOnly.DeviceState.Builder
We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard
open fun setRxWaypoint(builderForValue: MeshProtos.MeshPacket.Builder): DeviceOnly.DeviceState.Builder
We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
Content copied to clipboard
.meshtastic.MeshPacket rx_waypoint = 12;
Link copied to clipboard
A version integer used to invalidate old save files when we make
incompatible changes This integer is set at build time and is private to
NodeDB.cpp in the device code.
Content copied to clipboard
uint32 version = 8;